/**
 * @file commonapi.h
 * @author your name (you@domain.com)
 * @brief 
 * @version 0.1
 * @date 2022-10-20
 * 
 * @copyright Copyright (c) 2022
 * 
 */
#ifndef SRC_COMMONAPI_H_
#define SRC_COMMONAPI_H_

#include <QObject>

class CommonAPI : public QObject {
  Q_OBJECT
 public:
  explicit CommonAPI(QObject *parent = nullptr);

  /**
   * @brief 获取相机列表
   * 
   * @return 
   */
  Q_INVOKABLE QStringList getCameralist();

  /**
   * @brief 获取默认相机
   * 
   * @return  
   */
  Q_INVOKABLE QString getDefaultCamera();
 signals:
};

#endif  // SRC_COMMONAPI_H_
